package com.bupt.ilink.mapper;

import com.bupt.ilink.entity.Studyspace.StudyWebSourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author LENOVO
* @description 针对表【study_web_sourse】的数据库操作Mapper
* @createDate 2024-08-20 09:59:49
* @Entity generator.domain.StudyWebSourse
*/
@Mapper
public interface StudyWebSourseMapper extends BaseMapper<StudyWebSourse> {

    @Select("SELECT * FROM study_web_sourse WHERE file_id = #{courseFileId}")
    List<StudyWebSourse> getWebByCourseFileId(Long courseFileId);
}




